<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/7/10
 * Time: 16:54
 */
namespace app\admin\validate;

use think\Validate;

class Smscp extends Validate{
    protected $rule = [
        'client_id'             => 'require',
        'provider_id'           => 'require',
        'status'                => 'in:1,0',
    ];
    protected $message  =   [
        'client_id.require'         => '客户ID不能为空',
        'provider_id.require'       => '供应商ID不能为空',
        'status.in'                 => '状态不正确',
    ];
}